home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
turbo_tk.arc
/
SCRNDEM.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1988-02-01
|
1KB
|
38 lines
Program Test_Heap_Procs;
Uses Crt, FastTTT, DOS, WinTTT;
var
I : integer;
Ch : char;
begin
Clrscr;
Offcursor;
Fillscreen(1,1,80,25,white,black,chr(176));
FBox(5,3,25,8,white,black,1);
SaveScreen(1);
WriteCenter(25,black,lightgray,'Press any key to see a part restore from the heap');
Ch := ReadKey;
Fillscreen(1,25,80,25,black,lightgray,' '); {clear Message line}
PartRestoreScreen(1,5,3,25,8,50,15);
DisposeScreen(1);
WriteCenter(25,black,lightgray,'Press any key to see a screen move');
Ch := ReadKey;
MoveScreenBlock(50,15,70,20,55,3);
Fillscreen(50,15,70,20,white,black,chr(176));
WriteCenter(25,black,lightgray,'Press any key to see a screen copy');
Ch := ReadKey;
CopyScreenBlock(1,1,80,12,1,13);
WriteCenter(25,black,lightgray,'Press any key to see a partial screen scroll');
Ch := ReadKey;
For I := 1 to 24 do
begin
ScrollUp(39,1,80,25-I);
Delay(75); {faster than an Izuzu!}
end;
WriteAT(40,22,white,black,'Run DemoTTT.exe for the main demo program');
WriteAT(40,23,white,black,'Technojocks Turbo Toolkit v4.0');
Fillscreen(1,25,80,25,white,black,' '); {clear Message line}
Ch := Readkey;
OnCursor;
end.